import request from '@/utils/request'

// 查询参数列表
export function listApp(query) {
  return request({
    url: '/ptAppVersion/list',
    method: 'get',
    params: query
  })
}

export function addApp(data) {
  return request({
    url: '/ptAppVersion/add',
    method: 'post',
    data: data
  })
}

export function setNew(data) {
  return request({
    url: '/ptAppVersion/new/'+data,
    method: 'get'
  })
}


export function setOld(data) {
  return request({
    url: '/ptAppVersion/old/'+data,
    method: 'get'
  })
}

export function deleteById(data) {
  return request({
    url: '/ptAppVersion/del/'+data,
    method: 'get'
  })
}

